package com.wn.mapper;

import com.common.base.BaseMapper;
import com.common.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper extends BaseMapper<Order> {
    Order searchByorderNo(String orderNo);

    int updateStatus(@Param("orderNo") String orderNo, @Param("status") Integer status);

    List<Order> queryByCreateUserId(String createUserId);
}
